package com.ccxc.question.exam.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description = "试题选项")
@NoArgsConstructor
@ToString
public class QuestionOptionDTO {
    @ApiModelProperty(value = "ID")
    @Getter
    @Setter
    private Long id;

    @ApiModelProperty(value = "选项")
    @Getter
    @Setter
    private String option;

    @ApiModelProperty(value = "选项内容")
    @Getter
    @Setter
    private String content;

    public QuestionOptionDTO(Long id, String option, String content) {
        this.id = id;
        this.option = option;
        this.content = content;
    }
}